<div>

    <div class="row">
        <div class="col-md-2" style="padding-right:0px">
            <vc:create path="community/communityMachineTypeTree" ></vc:create>
        </div>
        <div class="col-md-10 margin-top-xs">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择设备名称','adminEquipment')"
                                    v-model.trim="adminEquipmentInfo.conditions.machineName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择设备编码','adminEquipment')"
                                    v-model.trim="adminEquipmentInfo.conditions.machineCode" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <select class="custom-select" v-model="adminEquipmentInfo.conditions.state">
                                <option selected value="">{{vc.i18n('请选择状态','feeConfigManage')}}</option>
                                <option v-for="(item,index) in adminEquipmentInfo.useStatus" :key="index"
                                    v-bind:value="item.statusCd">{{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <select class="custom-select" v-model="adminEquipmentInfo.conditions.importanceLevel">
                                <option selected disabled value="">请选择重要等级</option>
                                <option v-for="(item,index) in adminEquipmentInfo.importanceLevels" :key="index"
                                    :value="item.statusCd">{{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryEquipmentAccountMethod()">
                                <vc:i18n name="查询"></vc:i18n>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-content border-radius">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='设备名称' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='设备编码' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='设备品牌' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='设备型号' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='位置详情' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='首次启用时间' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='保修截止日期' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='使用年限' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='重要等级' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='使用状态' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='采购价格' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='资产净值' namespace='adminEquipment'></vc:i18n>
                                </th>
                                <!-- <th class="text-center">
                                    <vc:i18n name='操作'></vc:i18n>
                                </th> -->
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="adminEquipment in adminEquipmentInfo.adminEquipments">
                                <td class="text-center">{{adminEquipment.machineName}}</td>
                                <td class="text-center">{{adminEquipment.machineCode}}</td>
                                <td class="text-center">{{adminEquipment.brand}}</td>
                                <td class="text-center">{{adminEquipment.model}}</td>
                                <td class="text-center">{{adminEquipment.locationDetail}}</td>
                                <td class="text-center">{{adminEquipment.firstEnableTime}}</td>
                                <td class="text-center">{{adminEquipment.warrantyDeadline}}</td>
                                <td class="text-center">{{adminEquipment.usefulLife}}</td>
                                <td class="text-center">{{adminEquipment.levelName}}</td>
                                <td class="text-center">{{adminEquipment.stateName}}</td>
                                <td class="text-center">{{adminEquipment.purchasePrice}}</td>
                                <td class="text-center">{{adminEquipment.netWorth}}</td>
                                <!-- <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEquipmentAccountDetail(adminEquipment)">
                                            <vc:i18n name='详情'></vc:i18n>
                                        </button>
                                    </div>
                                </td> -->
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <div class="row margin-top-xs">
                        <div class="col-sm-7">
                            <div>设备状态 分为：使用中，停用中 等状态</div>
                        </div>
                        <div class="col-sm-5 float-right">
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>